You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > ArcTan2 Method > TOpenCLMtxVec.ArcTan2 Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.ArcTan2 Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec)

Inverse tangens of Y/X.

Syntax
C#
Visual Basic
public TOpenCLMtxVec ArcTan2([In] TOpenCLMtxVec Y, [In] TOpenCLMtxVec X);

 

Calculates the inverse tangens of Y/X, and returns an angle in the correct quadrant. The results are stored in calling object elements. Size and TOpenCLBase.ComplexComplexproperties of calling object are adjusted automatically to match those of X and Y objects. An exception is raised if X and Y size and TOpenCLBase.ComplexComplexproperties do not match. 

Note that ArcTan is calculated as ArcTan2(1, X).

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!